package com.zhangjm.pojo.enums;


import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum DecorateEnum {

    LOW(0,"毛呸房"),
    NORMAL(1,"普通装修"),
    HIGHGRADE(2,"精装修");

    @EnumValue
    private Integer level;

    @JsonValue
    private String name;

    private DecorateEnum(Integer level, String name){
        this.level=level;
        this.name=name;
    }

}
